package com.TanNgee.framework.utils;

import java.util.Locale;

/**
 * @author 陈毅
 * @create 2022/4/23 0:19
 */
public class StringUtils {
    private StringUtils() {

    }

    // userDao=> setUserDao
    public static String getSetterMethodByFieldName(String fieldName) {
        String methodName = "set" + fieldName.substring(0, 1).toUpperCase(Locale.ROOT) + fieldName.substring(1);
        return methodName;
    }
}
